package ynu.edu.Service.Impl;

import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;
import ynu.edu.Dao.UserDao;
import ynu.edu.Entity.User;

@Service
public class UserService {
    @Resource
    private UserDao userDao;
    public User findByUserName(String username){
        return userDao.findByUserName(username);
    }
}
